#ifndef __CORE_MUTEX_H__
#define __CORE_MUTEX_H__
#include <Windows.h>

namespace Core
{
	class rtMutex
	{
	public:
		rtMutex(void);
		~rtMutex(void);

		bool lock(bool blocking = true);
		void unlock();

	private:

		rtMutex(const rtMutex& m);
		rtMutex& operator = (const rtMutex& m) ;

		CRITICAL_SECTION m_CS;
	};
}
#endif


